<?php
require KISS_PATH . '/CDB.php';
class CIndex {
	public function __construct() {
		$this->db = CDB::getInstance();
	}	
	public function index() {
		$categories = $this->db->getResults('SELECT cat_id, cat_name FROM kiss_category WHERE cat_is_show = 1 ORDER BY cat_sort_order ASC');
		include(APP_PATH.'/view/default/index.php');
	}
}
